package cn.iocoder.yudao.module.ym.controller.admin.tickettrajectory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 工单轨迹新增/修改 Request VO")
@Data
public class TicketTrajectorySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30649")
    private Long id;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "公司id", example = "19889")
    private Long deptId;

    @Schema(description = "工单外键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8873")
    @NotNull(message = "工单外键不能为空")
    private Long ticketId;

    @Schema(description = "指派人", requiredMode = Schema.RequiredMode.REQUIRED, example = "15362")
    @NotNull(message = "指派人不能为空")
    private Long operatorId;

    @Schema(description = "位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "位置不能为空")
    private String location;

}